package xyz.zdsoft.homework_manage_module.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(description= "返回查询信息")
public class RestQueryHomework implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "id")
    private Integer id;
    @ApiModelProperty(value = "发布时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm" ,timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date createTime;
    @ApiModelProperty(value = "项目名字")
    private String courseName;
    @ApiModelProperty(value = "作业主题")
    private String title;
    @ApiModelProperty(value = "实训老师")
    private String  teacherName;
    @ApiModelProperty(value = "计划完成时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm" ,timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date completeDate;
    @ApiModelProperty(value = "提交时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm" ,timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date completeTime;
    @ApiModelProperty(value = "小组")
    private String teamName;
    @ApiModelProperty(value = "作业类型，参见WorkType枚举;0平时作业，1阶段性作业，2最终交互作业")
    private String workType;
    @ApiModelProperty(value = "学生姓名")
    private String studentName;
    @ApiModelProperty(value = "学生学号")
    private String studentNumber;
    @ApiModelProperty(value = "专业名称")
    private String majorName;
    @ApiModelProperty(value = "院系名称")
    private String collegesName;
}
